﻿<!DOCTYPE html>
<html lang="ru">
    <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8" />
        <title>@ViewBag.Title — приложение ASP.NET MVC</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <p class="site-title">@Html.ActionLink("Admin ваша эмблема здесь", "Index", "Home")</p>
                </div>
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                    <nav>
                        <ul id="menu">
                            @if (User.IsInRole("Admin"))
                            {<li>@Html.ActionLink("Admin View", "Index", "Admin")</li>}
                            <li>@Html.ActionLink("Домашняя страница", "Index", "Home")</li>
                            <li>@Html.ActionLink("О программе", "About", "Home")</li>
                            <li>@Html.ActionLink("Контакт", "Contact", "Home")</li>
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            <section class="content-wrapper main-content clear-fix">
            <div id="AdminContainer">
             <div id="AdminMenuDiv">
                <ul>
                    <li>@Html.ActionLink("Offices", "Index", "Office")</li>
                    <li>@Html.ActionLink("Departments", "Index", "Department")</li>
                    <li>@Html.ActionLink("Employee Performance Rating", "Index", "EmployeePerfRating")</li>
                    <li>@Html.ActionLink("Employee Statuses", "Index", "EmployeeStatus")</li>
                    <li>@Html.ActionLink("General Statuses", "Index", "GeneralStatus")</li>
                    <li>@Html.ActionLink("Postions", "Index", "Position")</li>
                    <li>@Html.ActionLink("Ratings", "Index", "Rating")</li>
                    <li>@Html.ActionLink("Skill Levels", "Index", "SkillLevel")</li>
                    <li>@Html.ActionLink("Skill Types", "Index", "SkillType")</li>
                    <li>@Html.ActionLink("User Roles", "Index", "Role")</li>
                    <li>@Html.ActionLink("Add user to Role", "AddUserToRole", "Admin")</li>
                    <li>@Html.ActionLink("Users List", "Users", "Admin")</li>

                </ul>
            </div>
            <div id="AdminItemContainer">
                @RenderSection("featured", required: false)
                    <section class="content-wrapper main-content clear-fix">
                        @RenderBody()
                    </section>
            </div>
           </div>
          </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year — приложение ASP.NET MVC</p>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>
